package com.ming_za.odupdaterserver.core.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "新增标签参数")
@Data
public class LabelAddVo {

    @Schema(description = "标签名")
    @NotEmpty(message = "标签名不能为空")
    private String name;

    @Schema(description = "标签父级，可为空")
    private Long parent;

}
